package com.unicom.scg.scancodego.service.impl;

import com.unicom.scg.scancodego.entity.*;
import com.unicom.scg.scancodego.mapper.TProcessMapper;
import com.unicom.scg.scancodego.mapper.TStaffMapper;
import com.unicom.scg.scancodego.service.TProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liyy22
 * @version 1.0
 * @date 2019/11/4 19:50
 */
@Service
public class TProcessServiceimpl implements TProcessService {
    @Autowired
    TProcessMapper tProcessMapper;
    @Override
    public List<TProcess> getAllProc() {

        TProcessExample tProcessExample = new TProcessExample();
        List<TProcess> tProcesses = tProcessMapper.selectByExample(tProcessExample);


        return tProcesses;
    }
}
